import plugins from '../plugins'

function setup() {
  // const list = [1, 7, 5, 6, 3]
  // console.log(plugins.bubbleSort(list))
  // console.log(fetch)

  const http = new plugins.LimitRequest(1)
  // console.log(http)
  http.get('/src/main.ts?task=1').then(res => {
    console.log('1:' + res)
  })
  http.get('/src/main.ts?task=2').then(res => {
    console.log('2:' + res)
  })
  http.get('/src/main.ts?task=3').then(res => {
    console.log('3:' + res)
  })
  http.get('/src/main.ts?task=4').then(res => {
    console.log('4:' + res)
  })
}

export default setup
